package com.mujin.keji.collectionsystem.db.domain;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

import java.io.Serializable;

/**
 * 案件信息
 * @author Administrator
 *
 */
@Entity(tableName = "rc_cp_visit_list")
public class VisitApplyBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4102416536726885255L;

	@PrimaryKey(autoGenerate = true)
	private Long id;

	@ColumnInfo
	private Long visitApplyId;

	@ColumnInfo
	private String userName;

	@ColumnInfo
	private String caseId;
	@ColumnInfo
	private Long taskId;
	@ColumnInfo
	private String caseManageId;
	@ColumnInfo
	private String companyOrgSign;//公司标识
	@ColumnInfo
	private String caseCode;//案件Code
	@ColumnInfo
	private String visitName;//外访人
	@ColumnInfo
	private String visitRelation;//关系
	@ColumnInfo
	private String visitAddress;//外访地址
	@ColumnInfo
	private String addressType;//地址类型
	@ColumnInfo
	private String allotTime;//分配时间
	@ColumnInfo
	private Double latestDebtMoney;//最新欠款金额
	@ColumnInfo
	private Integer overdueDay;//逾期天数
	@ColumnInfo
	private String lastCollectionDate;//最近一次进入催收日期
	@ColumnInfo
	private Double distance;//距离
	@ColumnInfo
	private Integer lastStatus;//上一次状态
	@ColumnInfo
	private String lastStatusName;//上一次状态
	@ColumnInfo
	private String address;
	@ColumnInfo
	private String status;//外访状态

	public Long getVisitApplyId() {
		return visitApplyId;
	}

	public void setVisitApplyId(Long visitApplyId) {
		this.visitApplyId = visitApplyId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public String getCaseId() {
		return caseId;
	}

	public void setCaseId(String caseId) {
		this.caseId = caseId;
	}

	public String getCaseManageId() {
		return caseManageId;
	}

	public void setCaseManageId(String caseManageId) {
		this.caseManageId = caseManageId;
	}

	public String getCompanyOrgSign() {
		return companyOrgSign;
	}

	public void setCompanyOrgSign(String companyOrgSign) {
		this.companyOrgSign = companyOrgSign;
	}

	public String getCaseCode() {
		return caseCode;
	}

	public void setCaseCode(String caseCode) {
		this.caseCode = caseCode;
	}

	public String getAddressType() {
		return addressType;
	}

	public void setAddressType(String addressType) {
		this.addressType = addressType;
	}

	public String getVisitName() {
		return visitName;
	}

	public void setVisitName(String visitName) {
		this.visitName = visitName;
	}

	public String getVisitRelation() {
		return visitRelation;
	}

	public void setVisitRelation(String visitRelation) {
		this.visitRelation = visitRelation;
	}

	public String getVisitAddress() {
		return visitAddress;
	}

	public void setVisitAddress(String visitAddress) {
		this.visitAddress = visitAddress;
	}

    public Double getLatestDebtMoney() {
        return latestDebtMoney;
    }

    public void setLatestDebtMoney(Double latestDebtMoney) {
        this.latestDebtMoney = latestDebtMoney;
    }

    public Integer getOverdueDay() {
		return overdueDay;
	}

	public void setOverdueDay(Integer overdueDay) {
		this.overdueDay = overdueDay;
	}

	public String getLastCollectionDate() {
		return lastCollectionDate;
	}

	public void setLastCollectionDate(String lastCollectionDate) {
		this.lastCollectionDate = lastCollectionDate;
	}

	public String getAllotTime() {
		return allotTime;
	}

	public void setAllotTime(String allotTime) {
		this.allotTime = allotTime;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public Integer getLastStatus() {
		return lastStatus;
	}

	public void setLastStatus(Integer lastStatus) {
		this.lastStatus = lastStatus;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLastStatusName() {
		return lastStatusName;
	}

	public void setLastStatusName(String lastStatusName) {
		this.lastStatusName = lastStatusName;
	}
}
